﻿using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using ZSoft.Telegram.UI.ViewModels;

namespace ZSoftPintrest.UI.ViewModels
{
    public class ChannelCreateModel
    {
        [Required]
        public string Title { get; set; }
        [Required]
        public string Description { get; set; }
        public string[] Tags { get; set; }
        public int[] CategoryIds { get; set; }
    }

    public class ChannelCreateViewModel
    {
        [Required, Display(Name ="نام")]
        public string Title { get; set; }
        [Required, Display(Name = "توضیحات")]
        public string Description { get; set; }
        public string[] Tags { get; set; }
        public IEnumerable<CategoryViewModel> CategoryIds { get; set; }
    }

    public class ChannelViewModel
    {
        public string Title { get; set; }
        public string Description { get; set; }
    }
}
